# coding: utf-8


def add(a):
	return a+1

def is_odd(x):
	return x % 2 == 0

def is_not_empty(s):
    return s and len(s.strip()) > 0

print map(lambda x, y, z: x+y+z, range(3), range(3), range(3))
print filter(lambda x: x%2==0, range(5))
print filter(lambda s: s and len(s.strip()) > 0, ['a', '', None, [], 'b'])
print reduce(lambda x, y: x+y, ['a', 'b'])

import math
print math.sqrt(4)



def is_odd(x):
	if x % 2 == 0:
		return x
